import type { RouteRecordRaw } from 'vue-router'
import SiteLayout from '@/layout/index.vue'

const routes: RouteRecordRaw[] = [
  {
    path: '/',
    component: SiteLayout,
  },
  {
    path: '/login',
    component: () => import('@/views/login/index.vue'),
  },
  {
    path: '/:pathMatch(.*)*',
    component: () => import('@/views/not-found/index.vue'),
  },
]

export default routes
